package com.wedistudio.offliner.source.slideshare;

import com.wedistudio.offliner.search.Author;
import com.wedistudio.offliner.search.Content;
import com.wedistudio.offliner.search.Search;
import com.wedistudio.offliner.search.Source;

import java.util.Collections;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: melouadi
 * Date: 14/03/13
 * Time: 18:12
 * To change this template use File | Settings | File Templates.
 */
public class SlideShareSource implements Source {

    private static String API_KEY = "E6F5XDlR";
    private static String SHARED_SECRET = "cXSRZ8E0";

    @Override
    public String getSource() {
        return "slideshare";
    }

    @Override
    public List<Content> getContents(Search search, boolean onlyHeader) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public List<Content> getRelatedContents(Content content, boolean onlyHeader) {
        if(content.getHeader().getSource().equals(getSource()))    {
            return Collections.EMPTY_LIST;
        }

        return null;

    }

    @Override
    public List<Content> getContents(Author author, boolean onlyHeader) {
        if(author.getSource().equals(getSource()))    {
            return Collections.EMPTY_LIST;
        }

        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
